package oa.hleast.xswl.pojo.domain.activity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import oa.hleast.common.base.BaseEntity;

/**
 * cms_user_sign_up
 *
 * @author 302
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("cms_user_sign_up")
public class CmsUserSignUp extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 通用活动ID/场景ID
     */
    private Long scenesId;

    /**
     * 活动日历ID/场次ID
     */
    private Long calendarId;

    /**
     * 活动类型ID
     */
    private Long activityTypeId;

    /**
     * 活动报名模版id
     */
    private Long activityTemplateId;

    /**
     * 模版json数据
     */
    private String templateJsonData;

    @ApiModelProperty("审核状态 0未审核 1审核通过 2审核不通过")
    private Integer reviewStatus;

    /**
     * 删除标识  (0未删除 1已删除)
     */
    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;
}